#ifndef CONTROL_H
#define CONTROL_H
#include "stm32f4xx.h"
#include "pid.h"
#include "imu.h"
#include "timer.h"
#include "motor.h"
#include "ppm.h"
#include "math.h"
#include "structconfig.h"
#include "altitude.h"

extern float speedbase,highaim,yaw;
extern int Uav_Enable,high_flag;
	
void Control(void);
void Safety_Check(void);

#endif 

